package com.app.common {

	public class GlobalConstants {
		
		// Not used starts here....
		static public const LOGIN_SUCCESS:String = "loginSuccess";
		static public const LOGIN_FAILED:String = "loginFailed";
		static public const LOGGED_OUT:String = "loggedOut";
		static public const SHELL_NAME:String = "GenericAppShell";
		// Not used ends here....
		
		//Register all modules for applicationRouter and applicationAddress
		public static const REGISTER_MODULE_ROUTER_ADDRESS:String = 'registerModuleRouterAddress';
		
		// List all the modules here (Must)
		public static const MODULE_LOGGER:String = 'LoggerModule';
		public static const MODULE_HOME:String = 'HomeModule';
		public static const MODULE_ABOUT:String = 'AboutModule';
		
		// ActiveWidgetProxy notifications constants
		public static const WIDGET_MODULE_ERROR:String = 'widgetModuleError';//'WIDGET_MODULE_ERROR';
		public static const WIDGET_MODULE_PROGRESS:String = 'widgetModuleProgress';//'WIDGET_MODULE_PROGRESS';
		public static const WIDGET_MODULE_READY:String = 'widgetModuleReady';//'WIDGET_MODULE_READY';	
		public static const WIDGET_CREATED:String = 'widgetCreated';//'WIDGET_CREATED';

		// Shell notifications constants
		public static const REMOVE_ALL_WIDGETS:String = 'removeAllWidgets';//'REMOVE_ALL_WIDGETS';
		public static const CLEAR_LOGGER:String = 'clearLogger';//'CLEAR_LOGGER';

		// Shell Logger notifications constants
		public static const CREATE_LOGGER:String = 'createLogger';//'CREATE_LOGGER';
		public static const CREATE_LOGGER_COMPLETE:String = 'createLoggerComplete';//'CREATE_LOGGER_COMPLETE';		
		public static const REMOVE_LOGGER:String = 'removeLogger';//'REMOVE_LOGGER';
		public static const REMOVE_LOGGER_COMPLETE:String = 'removeLoggerComplete';//'REMOVE_LOGGER_COMPLETE';
		public static const SHUTDOWN_LOGGER_COMPLETE:String = 'shutdownLoggerComplete';//'SHUTDOWN_LOGGER_COMPLETE';

		// Shell Widget notifications constants
		public static const CREATE_WIDGET:String = 'createWidget';//'CREATE_WIDGET';
		public static const POKE_WIDGET:String = 'pokeWidget';//'POKE_WIDGET';
		public static const POKE_WIDGET_COMPLETE:String = 'pokeWidgetComplete';//'POKE_WIDGET_COMPLETE';		
		public static const REMOVE_WIDGET:String = 'removeWidget';//'REMOVE_WIDGET';
		public static const REMOVE_WIDGET_COMPLETE:String = 'removeWidgetComplete';//'REMOVE_WIDGET_COMPLETE';
		public static const SHUTDOWN_WIDGET_COMPLETE:String = 'shutdownWidgetComplete';//'SHUTDOWN_WIDGET_COMPLETE';

		// Module - Logger notifications constants
		public static const CLEAR_MESSAGES:String = 'clearMessages';
		public static const LOG_MESSAGE:String = 'logMessage';
	}
}
